package com.cn.mmd.service;

import com.cn.mmd.mapper.IssueAnswerMapper;
import com.cn.mmd.model.IssueAnswer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by Administrator on 2016/12/20.
 */
@Service("issueAnswerService")
public class IssueAnswerServiceImpl implements  IssueAnswerService {

    @Autowired
    private IssueAnswerMapper issueAnswerMapper;

    @Override
    public int insertSelective(IssueAnswer record) {
        return issueAnswerMapper.insertSelective(record);
    }

    @Override
    public IssueAnswer selectByPrimaryKey(Integer issueid) {
        return issueAnswerMapper.selectByPrimaryKey(issueid);
    }
}
